const app = getApp()

Page({
  data: {
    name: '我的',
    nav: app.globalData.nav
  },
  redirect: function (e) {
    let path = e.target.dataset.path
    wx.redirectTo({
      url: path
    })
  }
})